import 'package:sui_shou_pai/camera/model/employee.dart';

class Department {
  int id;
  String departmentId;
  String name;
  String description;
  Employee employee;

  static Department formMap(Map<String, dynamic> map) {
    Department group = Department();
    group.id = map['id'];
    group.departmentId = map['departmentId'];
    group.name = map['name'];
    group.description = map['description'];
    group.employee = Employee.formMap(map['employee']);
    return group;
  }
}
